Skip to content

fix: enhance makeUrlParamsForQuery to prioritize transaction types#257

Merged
gsteenkamp89 merged 1 commit intomasterfrom
fix/gsteenkamp/undefined-query-params
Feb 6, 2026
Merged

fix: enhance makeUrlParamsForQuery to prioritize transaction types#257
gsteenkamp89 merged 1 commit intomasterfrom
fix/gsteenkamp/undefined-query-params

Conversation

@gsteenkamp89
Copy link
Collaborator

@gsteenkamp89 gsteenkamp89 commented Feb 5, 2026

closes FE-317
Updated the makeUrlParamsForQuery function to handle multiple transaction types (request, assertion, proposal, dispute, settlement) with a clear priority order. Added fallback for edge cases to ensure consistent return values.

We might want to handle more specific params like requestHash or proposalHash instead of the generic transactionHash but that would require changes in our bots, so for now this should work well.

Updated the makeUrlParamsForQuery function to handle multiple transaction types (request, assertion, proposal, dispute, settlement) with a clear priority order. Added fallback for edge cases to ensure consistent return values.

Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
amoy-optimistic-oracle-dapp-v2 Ready Ready Preview, Comment Feb 5, 2026 3:22pm
optimistic-oracle-dapp-v2 Ready Ready Preview, Comment Feb 5, 2026 3:22pm
sepolia-optimistic-oracle-dapp-v2 Ready Ready Preview, Comment Feb 5, 2026 3:22pm

Request Review

@linear
Copy link

linear bot commented Feb 5, 2026

Copy link
Collaborator

@0xjorgen 0xjorgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@gsteenkamp89 gsteenkamp89 merged commit 6636b2c into master Feb 6, 2026
5 checks passed
@gsteenkamp89 gsteenkamp89 deleted the fix/gsteenkamp/undefined-query-params branch February 6, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants